package com.ruoyi.web.controller.tool;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author lihy
 * @date 2023/3/22 10:26
 */
@RestController
@RequestMapping("/health")
public class HealthCheckController extends BaseController {
    /**
     * 空请求，提供给爬虫，测试代理IP可用性
     */
    @GetMapping("/empty")
    public AjaxResult empty() {
        return success();
    }
}
